// 引用 Mock
const Mock = require('mockjs')

export const userData = Mock.mock("/data", "get", {
  token: 'asdsdasdasdasdas',
  code: 200,
  message: 'ok',
});
export const asideInfo = Mock.mock("/menus", "get", {
  data: [
    {
      authName: "用户管理",
      children: [
        {
          authName: "用户列表",
          children: null,
          id: 110,
          order: null,
          path: "users"
        }
      ],
      id: 125,
      order: 1,
      path: "users"
    },
    {
      authName: "权限管理",
      children: [
        {
          authName: "角色列表",
          children: null,
          id: 111,
          order: null,
          path: "roles"
        },
        {
          authName: "权限列表",
          children: null,
          id: 112,
          order: null,
          path: "rights"
        }
      ],
      id: 103,
      order: 2,
      path: "rights"
    },
    {
      authName: "商品管理",
      children: [
        {
          authName: "商品列表",
          children: null,
          id: 104,
          order: 1,
          path: "goods"
        },
        {
          authName: "分类参数",
          children: Array(0),
          id: 115,
          order: 2,
          path: "params"
        },
        {
          authName: "商品分类",
          children: Array(0),
          id: 121,
          order: 3,
          path: "categories"
        }
      ],
      id: 101,
      order: 3,
      path: "goods"
    },
    {
      authName: "订单管理",
      children: [
        {
          authName: "订单列表",
          children: Array(0),
          id: 107,
          order: null,
          path: "orders"
        }
      ],
      id: 102,
      order: 4,
      path: "orders"
    },
    {
      authName: "数据统计",
      children: [
        {
          authName: "数据报表",
          children: Array(0),
          id: 146,
          order: null,
          path: "reports"
        }
      ],
      id: 145,
      order: 5,
      path: "reports"
    }
  ]
});